using UnityEngine;

public class SuenAnneren : MonoBehaviour
{
	private const string KEY_SUEN_ANNEREN = "keySuenAnneren";

	private const string KEY_SUEN_ANNEREN_CHEETER = "keySuenAnnerenCheeter";

	private const string KEY_SUEN_ANNEREN_OLD_COINS = "keySuenAnnerenOldCoins";

	private const string KEY_SUEN_ANNEREN_OLD_MONET = "keySuenAnnerenOldMoney";

	private void Start()
	{
		int @int = PlayerPrefs.GetInt("keySuenAnneren");
		int num = BCWStorage.Get<int>("keySuenAnneren");
		if (@int == 1 || num == 1)
		{
			int num2 = BCWStorage.Get<int>(settings.keyKolCoins);
			int value = (int)((float)num2 * 0.153f);
			BCWStorage.Set(settings.keyKolCoins, value, true);
			int num3 = BCWStorage.Get<int>(settings.keyMonetBCount);
			int value2 = (int)((float)num3 * 1.492f);
			BCWStorage.Set(settings.keyMonetBCount, value2, true);
			BCWStorage.Set("keySuenAnneren", 0, true);
			PlayerPrefs.SetInt("keySuenAnneren", 0);
			PlayerPrefs.Save();
		}
	}
}
